<template>
  <div class="">
    <div class="title_box dis-o-between">
      最新上报
    </div>
    <ul>
      <li v-for="(item, index) in listData" :key="index">
        <img src="@/assets/img/profile.jpg" alt="">
        <div>
          <p class="text_color-3"><span class="text-blue" style="margin-right: 10px;">{{ item.reportName }}</span>{{
            item.reportTime }}</p>
          <p class="text_color-9">{{ item.belongTo }}-{{ item.diseaseLocation }}-{{ item.brokenCommpontName }}</p>
          <p v-if="item.avatar == null">{{ item.reportName }}</p>
          <p class="text-blue">案卷编号 {{ item.caseCode }}</p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'moduleFour',
  data() {
    return {
      listData: [
        {
          "avatar": null,
          "reportTime": "2024-01-24 00:02:11",
          "reportName": "222",
          "caseCode": "DL20240124943642",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": "222"
        },
        {
          "avatar": null,
          "reportTime": "2024-01-23 23:47:16",
          "reportName": "111",
          "caseCode": "DL20240123543199",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": "111"
        },
        {
          "avatar": "",
          "reportTime": "2024-01-10 11:35:22",
          "reportName": "haoshijing112",
          "caseCode": "DL20240110175277",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": ""
        },
        {
          "avatar": "",
          "reportTime": "2024-01-10 11:33:56",
          "reportName": "haoshijing112",
          "caseCode": "DL20240110224254",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": ""
        },
        {
          "avatar": null,
          "reportTime": "2024-01-10 11:33:11",
          "reportName": "22",
          "caseCode": "DL20240110849037",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": ""
        },
        {
          "avatar": null,
          "reportTime": "2024-01-04 16:44:23",
          "reportName": "12",
          "caseCode": "DL20240104704924",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": null
        },
        {
          "avatar": null,
          "reportTime": "2024-01-04 11:35:02",
          "reportName": "12",
          "caseCode": "DL20240104728180",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": null
        },
        {
          "avatar": null,
          "reportTime": "2024-01-03 23:09:46",
          "reportName": "1",
          "caseCode": "DL20240103302279",
          "belongTo": "顺丰速运",
          "diseaseLocation": "人行道部件及其构件",
          "brokenCommpontName": "测试构件",
          "brokenDesc": "测试"
        },
        {
          "avatar": null,
          "reportTime": "2024-01-03 20:39:49",
          "reportName": "333",
          "caseCode": "DL20240103581576",
          "belongTo": "顺丰速运",
          "diseaseLocation": "照明设施",
          "brokenCommpontName": "测试构件",
          "brokenDesc": "333"
        },
        {
          "avatar": null,
          "reportTime": "2024-01-03 20:21:53",
          "reportName": "222",
          "caseCode": "DL20240103168421",
          "belongTo": "顺丰速运",
          "diseaseLocation": "照明设施",
          "brokenCommpontName": "测试构件",
          "brokenDesc": "5555"
        }
      ],
    };
  },
  props: {},

  components: {},

  created() { },

  mounted() { },

  beforeDestroy() { },

  methods: {},

  computed: {},

  watch: {},

  directives: {},

  filters: {}
};
</script>

<style scoped lang="scss">
.title_box {
  position: relative;
  padding: 0 30px;
  height: 45px;
  line-height: 45px;
  background: #f7f8fa;
  font-weight: bold;
}

.title_box::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  height: 14px;
  width: 3px;
  background: #0066ff;
}

ul {
  width: 100%;
  height: 730px;
  overflow: auto;
  box-sizing: border-box;
  padding: 10px 16px;

  li {
    padding: 10px 0 16px 0;
    border-bottom: 1px solid #e6e7eb;
    font-size: 14px;
    display: flex;

    img {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      margin-right: 10px;
    }

    p {
      line-height: 20px;
      margin-bottom: 5px;
    }
  }
}
</style>
